net/url.Userinfo.Username (method)
7 uses
net/url (current package)
url.go#L405: func (u *Userinfo) Username() string {
url.go#L870: ru.User = UserPassword(ru.User.Username(), "xxxxx")
net/http
client.go#L248: username := u.Username()
client.go#L1029: return strings.Replace(u.String(), u.User.String()+"@", u.User.Username()+":***@", 1)
transport.go#L864: username := u.Username()
transport.go#L1650: Username: u.Username(),
golang.org/x/net/proxy
proxy.go#L85: auth.User = u.User.Username()
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |